package com.exam.examtest

import android.app.Application

/**
 * ClassName MyApplication
 * Create by rhf
 * Create on 2021/3/30 16:35
 * Description 启动入口
 */
class MyApplication : Application() {

    companion object {

        @JvmField
        var instance: MyApplication? = null

        @JvmStatic
        fun getInstance(): MyApplication? {
            return instance
        }
    }

    override fun onCreate() {
        super.onCreate()

        instance = this
    }
}